using ECommerce.Web.ViewModels;

namespace ECommerce.Web.NHibernate.Mappings.ViewMappings
{
    public class BasketItemViewMap : ViewMap<BasketItemView>
    {
        public BasketItemViewMap()
        {
            Id(x => x.Id);
            Map(x => x.BasketId);
            Map(x => x.Quantity);
            Map(x => x.ProductId);
            Map(x => x.ProductName);
            Map(x => x.ProductPrice);
        }
    }
}